﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SLVCase
{
    public partial class Page : Canvas
    {
        public void Page_Loaded(object o, EventArgs e)
        {
            // Required to initialize variables
            InitializeComponent();

            Rectangle rt = new Rectangle();
            rt.Width = 100;
            rt.Height = 100;
            rt.SetValue(LeftProperty, 100);
            rt.SetValue(TopProperty, 100);

            SolidColorBrush scb = new SolidColorBrush();
            scb.Color = Colors.Red;
            rt.Stroke = scb;

            this.Children.Add(rt);
        }
    }
}
